package com.study.consumer;

import com.study.api.OrderService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.Method;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;

import java.util.concurrent.CountDownLatch;

@SpringBootApplication
@ServletComponentScan("com.study.consumer.filter") //扫描TagFilter
public class Consumer {


    public static void main(String[] args) throws InterruptedException {
        new SpringApplicationBuilder(Consumer.class).run(args);
    }


}
